/**
 * 	write on 2005-11-15 12:32:44.
 */
package org.nanhill.xmlro.gsp;

import static org.nanhill.commons.lang.StringConstants.GT;
import static org.nanhill.commons.lang.StringConstants.LT;
import static org.nanhill.commons.lang.StringConstants.QUOT;
import static org.nanhill.commons.xml.XmlConstants.LTS;

/**
 * @author alin
 * 
 */
public abstract class GspConstants  {
	public static final String GSP = "GSP";

	public static final String GSP_VERSION = "0.01";

	public static final String GSP_START = LT + GSP + " ver=" + QUOT
			+ GSP_VERSION + QUOT + GT;

	public static final String REQUEST = "Req";

	public static final String RESPONSE = "Resp";

	public static final String ID = "id";

	public static final String CODE = "code";

	public static final String COMMAND = "cmd";

	public static final String SET = "Set";

	public static final String SET_RESPONSE = "SetResp";

	public static final String NOTIFY = "Ntf";

	public static final String GSP_END = LTS + GSP + GT;

	public static final String STRUCT = "struct";

	public static final String STRUCT_START = LT + STRUCT + GT;

	public static final String STRUCT_END = LTS + STRUCT + GT;

	public static final String ARRAY = "array";

	public static final String ARRAY_START = LT + ARRAY + GT;

	public static final String ARRAY_END = LTS + ARRAY + GT;

	public static final String STRING = "string";

	public static final String STRING_START = LT + STRING + GT;

	public static final String STRING_END = LTS + STRING + GT;

	public static final String INT = "int";

	public static final String INT_START = LT + INT + GT;

	public static final String INT_END = LTS + INT + GT;

	public static final String UINT = "int64";

	public static final String UINT_START = LT + UINT + GT;

	public static final String UINT_END = LTS + UINT + GT;

	public static final String BASE64 = "base64";

	public static final String BASE64_START = LT + BASE64 + GT;

	public static final String BASE64_END = LTS + BASE64 + GT;

	public static final String DOUBLE = "double";

	public static final String DOUBLE_START = LT + DOUBLE + GT;

	public static final String DOUBLE_END = LTS + DOUBLE + GT;

	public static final String BOOLEAN = "boolean";

	public static final String BOOLEAN_START = LT + BOOLEAN + GT;

	public static final String BOOLEAN_END = LTS + BOOLEAN + GT;

	public static final String BOOLEAN_TRUE = "1";

	public static final String BOOLEAN_FALSE = "0";

	public static final String BOOLEAN_TRUE_NODE = BOOLEAN_START + BOOLEAN_TRUE
			+ BOOLEAN_END;

	public static final String BOOLEAN_FALSE_NODE = BOOLEAN_START
			+ BOOLEAN_FALSE + BOOLEAN_END;

	public static final String STRUCT_MEMBER = "member";

	public static final String STRUCT_MEMBER_NAME = "name";

	public static final String NULL = "void";

	public static final String NULL_START = LT + NULL + GT;

	public static final String NULL_END = LTS + NULL + GT;

}
